package com.xmb.common.service;

import com.github.pagehelper.PageInfo;
import com.xmb.common.entity.XmbRankConfig;
import com.xmb.common.entity.reward.ActivityRanking;
import com.xmb.common.entity.reward.RankConfig;

import java.util.List;

/**
 * Created by lyndon on 2019/6/17.
 */
public interface RankConfigService {
    int saveRankConfig(XmbRankConfig rankConfig);

    int updateRankConfig(XmbRankConfig rankConfig);

    List<XmbRankConfig> findRankConfig(Long senceId, String senceType);

    int deleteXmbOrderRewardSetting(Long id);

    List<RankConfig> getActivityRewardConfigList(Long activityId);

    PageInfo getActivityRewardRanking(Long id, int pageNum, int pageSize);

    ActivityRanking getCurrentUserActivityRewardRanking(Long id);
}
